home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 October / EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso / Aminet / util / sys / tlist007.readme < prev   
Text File  |  1995-07-02  |  4KB  |  82 lines

  1. Short:  Turbo list command replacement
  2. Author: g.sanderson@ais.gu.edu.au
  3. Type:   util/shell
  4.  
  5. TurboList is a command similar to the standard list command supplied with
  6. AmigaDOS.
  7.  
  8.  
  9. The normal 'list' command, lists files like this:
  10.  
  11. etherpeek                   2369 ---arwed 04-Jan-95 22:21:34
  12. alien.iff                1314114 ----rwed 07-Jan-95 01:31:08
  13. desert.rat.toxic.article.gz    3684 ----rwed 05-Apr-95 17:24:34
  14. ultoa020.o                   444 ----rwed 28-Mar-95 19:11:11
  15. ftphunt.gz                 13768 ---arwed 04-Jan-95 14:27:41
  16. mui23usr.LZX              504572 ----rwed 26-Mar-95 19:21:54
  17. electric.bullet             1416 ---arwed 04-Jan-95 22:16:54
  18. ar311.lha                  95557 ----rwed Today     02:44:23
  19. replacement.functions       1029 ----rwed 11-Mar-93 23:20:17
  20. 9 files - 3796 blocks used
  21.  
  22.  
  23. TurboList lists them like this (similar to unix ls):
  24.  
  25. ---arwed 04-Jan 22:21 2.3K etherpeek
  26. ----rwed 07-Jan 01:31 1.3M alien.iff
  27. ----rwed 05-Apr 17:24 3.6K desert.rat.toxic.article.gz
  28. ----rwed 28-Mar 19:11 444b ultoa020.o
  29. ---arwed 04-Jan 14:27  13K ftphunt.gz
  30. ----rwed 26-Mar 19:21 493K mui23usr.LZX
  31. ---arwed 04-Jan 22:16 1.4K electric.bullet
  32. ----rwed Tod 02:44:23  93K ar311.lha
  33. ----rwed 11-Mar-93      1K replacement.functions
  34. TOTAL:  9 files [1.8M] and 0 dirs [1.9M used, 1M free]
  35.  
  36.  
  37. As you can see, long filenames do not stuffup the formatting.  Additionally,
  38. where possible, file sizes are approximated to their nearest multiplier (ie.
  39. Kilobytes,  Megabytes  or  Gigabytes),  which  is much easier to read.  This
  40. behaviour can be switched off.
  41.  
  42. The  date/time output is also different - if the file was created on the day
  43. you  are listing it,  it will print  out "Tod hh:mm:ss",  where Tod = Today,
  44. hh  =  hours,  mm = minutes, ss = seconds.  If the file was created within 6
  45. months  of  Today, the day of the month and the month will be printed, along
  46. with hh:mm.  If the file is older than 6 months, the full date, but no time,
  47. is printed.  This unix-like behaviour can be switched off and the full date
  48. printed without any conditions.
  49.  
  50. Additionally,  the file sizes are added up and listed at the end (the [1.8M]
  51. in  above  example).   The actual space taken up by the listed files is also
  52. printed  (ie.   1.9M  used) - this is due to the amount of blocks being used
  53. for a file, and blocks have constant sizes (usually 512 bytes on FFS), hence
  54. a  file which takes up 444 bytes actually takes up 2 blocks, 1 * 512 for the
  55. file,  and  1  * 512 for the directory entry (these values all depend on the
  56. file system used).  The amount of free space (ie.  1M free) on the device is
  57. also printed.
  58.  
  59. Files which have the hidden ('h') protection bit enabled will be ignored and
  60. not  taken  into  account  when  counting sizes/space taken up.  This can be
  61. switched off.
  62.  
  63.  
  64.  - Can be upto 30% faster than the normal 'list' command
  65.  - Long filenames fit without stuffing up the display
  66.  - Approximates the file size so it can be read easily (can be turned off)
  67.  - similar to unix-ls date printing behaviour
  68.  - doesn't display hidden files (with the h bit) (can be turned off)
  69.  - handles patterns (ie. stuff like foobar.#? etc)
  70.  - listing according to dates (since/upto date limitations)
  71.  
  72.  
  73. ============================= Archive contents =============================
  74.  
  75. Original  Packed Ratio    Date     Time    Name
  76. -------- ------- ----- --------- --------  -------------
  77.     4396    2854 35.0% 03-Jun-95 20:50:24  tl.68000
  78.     4648    2991 35.6% 03-Jun-95 20:50:30  tl.68020
  79.    11656    5090 56.3% 03-Jun-95 20:58:34  tl.doc
  80. -------- ------- ----- --------- --------
  81.    20700   10935 47.1% 03-Jun-95 14:24:14   3 files
  82.